package com.whalehearing.tingyou.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.whalehearing.tingyou.common.core.domain.AjaxResult;
import com.whalehearing.tingyou.domain.HearingSyncUserProfile;

/**
 * 测前初评同步个人资料Service接口
 *
 * @author zengjun-qxm
 * @date 2024-09-29
 */
public interface IHearingSyncUserProfileService extends IService<HearingSyncUserProfile> {

    /**
     * 根据-userId-获取测前初评同步个人资料详细信息
     */
    HearingSyncUserProfile getSpecialByUserId(Long userId);

    /**
     * 新增测前初评同步个人资料
     */
    AjaxResult addAndUpdate(HearingSyncUserProfile hearingSyncUserProfile);
}
